package com.roundarch.www.dao;

import java.util.List;

import com.roundarch.www.DataEntity;
import com.roundarch.www.model.Files;

public interface EntityDao {
	public <T extends DataEntity>T find(long id,Class<T> c);
	public <T extends DataEntity> List<T> listAll(Class<T> c);
	public <T extends DataEntity> void save(final T file);
	public <T extends DataEntity> void delete(long id,Class<T> c);
    public <T extends DataEntity> T find(Class<T> entityClass, String propertyName, Object propertyValue);
}
